package com.yunyao.dao.service.bamu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.BamuSysDept;
import com.yunyao.dao.model.custom.DeptChildCountDAO;

import java.util.List;

/**
 * <p>
 * 机构表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuSysDeptService extends IService<BamuSysDept> {

    List<DeptChildCountDAO> childCountByIds(List<String> idList);

    void deleteById(String id);

    BamuSysDept getByNameDept(String name);

    BamuSysDept getByNameOrg(String name);

    BamuSysDept getById(String id);
}
